public class test15 {
    public static void main(String[] args) {
         int count = 0;
         int dividend = 100 ;
         int divisor = 2;
         while (dividend >= divisor) {
             dividend = dividend - divisor;
             count++;
         }
         System.out.println("取整为："+count+"余数为"+dividend);
    }
}
